<?php

/**
 * Base class for all Model classes in need of database access.
 */
class Model_Base {
    
    /**
     * The database adapter used for all queries.
     * 
     * @var Zend_Db_Adapter_Abstract
     */
    protected $db;
    
    /**
     * Initializes the database adapter.
     */
    public function __construct() {
	$this->db = Zend_Db_Table_Abstract::getDefaultAdapter();
    }
}